package com.wyw.hemerocallis.service;

import com.wyw.hemerocallis.account.BalanceInfo;

/**
 * 余额信息接口
 *
 * @author Mr Wu    yewen.wu.china@gmail.com
 * <p>
 * Update History:
 * Author        Time            Content
 */
public interface IBalanceService {

    //获取当前用户余额信息
    BalanceInfo getCurrentUserBalanceInfo();

    /**
     * 扣减用户余额
     * @param balanceInfo   想要扣减的余额
     * @return
     */
    BalanceInfo deductBalance(BalanceInfo balanceInfo);

}
